﻿using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Model.Sys
{
    /// <summary>
    /// 文件池表
    /// </summary>
    [SugarTable(tableName: "Sys_FilePool", tableDescription: "文件池表")]
    public class Sys_FilePool
    {

        /// <summary>
        /// 文件新名称
        /// </summary>
        [Key]
        [StringLength(128)]
        [Description("主键")]
        [SugarColumn(IsPrimaryKey = true)]
        public string? FileNewName { get; set; }
        /// <summary>
        /// 文件旧名称
        /// </summary>
        [StringLength(200)]
        public string? FileOldName { get; set; }

        /// <summary>
        /// 文件大小
        /// </summary>
        public long FileSize { get; set; }

        /// <summary>
        /// 创建人id
        /// </summary>
        [StringLength(50)]
        public string? CreateUserId { get; set; }
        /// <summary>
        /// 创建人姓名
        /// </summary>
        [StringLength(50)]
        public string? CreateUserName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

    }
}
